﻿//-----------------------------------------------------------------------
// <copyright file="LogFlag.cs" company="OpenSource">
//     All code is Microsoft Public License (Ms-PL)
// </copyright>
// <history>
// 2013.02  Created         Chris Hand
// </history>
//-----------------------------------------------------------------------
namespace OpenSource.TumblrAPI.Support
{
    using System;

    /// <summary>
    /// The flags available for the logger
    /// </summary>
    [Flags]
    public enum LogFlag
    {
        /// <summary>
        /// Show Fatal Messages.
        /// This can't be turned off
        /// </summary>
        Fatal = 0,

        /// <summary>
        /// Show Debug messages
        /// </summary>
        Debug = 1,

        /// <summary>
        /// Show Data Messages
        /// </summary>
        Info = 2,

        /// <summary>
        /// Show info messages
        /// </summary>
        Trace = 4,

        /// <summary>
        /// A reminder to come back and do something
        /// </summary>
        TODO = 8,

        /// <summary>
        /// Full Verbose.
        /// </summary>
        All = LogFlag.Debug | LogFlag.Info | LogFlag.Trace | LogFlag.TODO
    }
}

